package com.bcinfo.iccard.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bcinfo.iccard.model.ComboCard;

public interface ComboCardMapper
{
    int deleteByPrimaryKey(Long comboCardId);

    int insert(ComboCard record);

    int insertSelective(ComboCard record);

    ComboCard selectByPrimaryKey(Long comboCardId);

    int updateByPrimaryKeySelective(ComboCard record);

    int updateByPrimaryKey(ComboCard record);

    int selectByCardName(String cardName);

    List<ComboCard> selectByPage(@Param("comboCardName") String comboCardName, @Param("status") int status,
            @Param("benginIndex") int benginIndex, @Param("pageSize") int pageSize);

    int selectCountByPage(@Param("comboCardName") String comboCardName, @Param("status") int status);

    List<ComboCard> selectByName(@Param("keyword") String keyword, @Param("maxRows") int maxRows);
}